package com.hsj.common.gateway.controller;

import com.hsj.common.gateway.service.GatewayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class GatewayController {

    @Autowired
    private GatewayService gatewayService;


    @RequestMapping("/loadAllRouter")
    public void loadAllRouter() {
        gatewayService.loadAllRouter();
    }



}
